import QtQuick
import QtQuick.Controls.Basic

TabButton {
    id: control
    font.bold: true
    font.pixelSize: 14
    contentItem: Text {
        text: control.text
        font: control.font
        opacity: enabled ? 1.0 : 0
        color: '#FFFFFFFF'
        horizontalAlignment: Text.AlignHCenter
        verticalAlignment: Text.AlignVCenter
        elide: Text.ElideRight
    }

    background: Rectangle {
        implicitWidth: 100
        implicitHeight: 40
        opacity: control.checked ? 1 : 0.7
        // radius: 4
        color:'#ededed'
    }
}
